
/* 获取验证码的方式 */
export const CODE_TYPE = {
  code:"code",                // 字母与数字混合验证码
  phone:"phone",              // 手机验证码
  blockPuzzle:"blockPuzzle",  // 滑动验证码
}


/* 获取验证码业务方式 */
export const BUSINESS_TYPE = {
  login:"captcha_login",          // 登录验证码
  reg:"captcha_reg",              // 注册验证码
  reset:"captcha_reset_password"  // 找回密码验证码
}

// 验证码延迟时间
export const RESET_TIME = 60

// 保存用户信息的key
export const USER_INFO_KEY = {
  token:'token',
  nickName:'nickName',
  img:'img',
  phone:'phone'
}

// qq 配置地址https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=[YOUR_APPID]&redirect_uri=[YOUR_REDIRECT_URI]&scope=[THE_SCOPE]
export const QQLogin  = 'https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101239483&redirect_uri=http%3A%2F%2F192.168.2.60%3A8080%2F&scope=get_user_info&state=1'  // qq快速登录
export const WeChatLogin  = 'https://open.weixin.qq.com/connect/qrconnect?appid=wx873ceb40c12d6e95&redirect_uri=http://192.168.2.247:8096/wap/index.html&response_type=code&scope=snsapi_login&state=1'  // 微信快速登录
export const wbLogin = ''